<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:41:"./template/layres/mobile/index_index.html";i:1577721827;s:55:"D:\GitCode\LayZy\template\layres\mobile\index_base.html";i:1577448943;s:53:"D:\GitCode\LayZy\template\layres\mobile\index_gg.html";i:1577959959;s:54:"D:\GitCode\LayZy\template\layres\mobile\index_gg6.html";i:1577959970;s:57:"D:\GitCode\LayZy\template\layres\mobile\index_footer.html";i:1577354088;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meat name="robots" content="index" />
  <meta name="renderer" content="webkit"/>
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  <meta name="format-detection" content="telephone=no"/>
  
<title><?php echo $site_config['site_title']; ?> - <?php echo $site_config['seo_title']; ?></title>
<meta name="keywords" content="<?php echo $site_config['seo_keyword']; ?>">
<meta name="description" content="<?php echo $site_config['seo_description']; ?>">
<link rel="stylesheet" href="/template/layres/css/index.css">

  <link rel="shortcut icon" href="/public/images/favicon.ico">
  <link rel="stylesheet" href="/template/layres/mobile/css/sm.min.css">
  <link rel="stylesheet" href="/template/layres/mobile/css/sm-extend.min.css">
  <link rel="stylesheet" href="/template/layres/mobile/css/public.css">
  
</head>
<body>
<div class="page-group">
  <div class="page page-current" id="<?php echo $action; ?>">
    <header id="header" class="clearfix theader">
      
    <a href="/" class="logo external">
        <img src="/template/layres/mobile/images/logo.png" />
    </a>
    <div class="bar bar-header-secondary">
        <div class="searchbar">
            <a class="searchbar-cancel">取消</a>
            <div class="search-input">
                <label class="icon icon-search" for="search"></label>
                <form action="javaScript:void(0)" method="get">
                    <input type="search" id='search' placeholder='输入关键字...' />
                </form>
            </div>
        </div>
    </div>
    <?php if(session('userid')): ?>
    <a href="/user/index.html" class="myico iconfont icon-wode"></a>
    <?php else: ?>
    <a href="/user/login.html" class="myico iconfont icon-wode"></a>
    <?php endif; ?>

    </header>
    
<div class="content">
    <ul class="index-list-nav">
        <div class="clearfix">

            <li>
                <a href="/" target="_self" data-no-cache="true">网站首页</a>
            </li>
            <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li <?php if($URI == $vo['link']): ?>class="hover"<?php endif; ?>>
               <a href="<?php echo $vo['link']; ?>" target="<?php echo $vo['target']; ?>"><?php echo $vo['name']; ?></a>
            </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </ul>
    <!-- Slider -->
    <div class="swiper-container" data-space-between='6'>
        <div class="swiper-wrapper">
            <?php if(is_array($carousel) || $carousel instanceof \think\Collection || $carousel instanceof \think\Paginator): $i = 0; $__LIST__ = $carousel;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <div class="swiper-slide"><a href="/html/<?php echo $vo['id']; ?>.html"><img src="<?php echo $vo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"></a></div>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
        <div class="swiper-pagination"></div>
    </div>
    <?php if($ad['open'] && $ad['config']['mobile_open']): ?>
<div style="background: #fff;padding:5px;">
    <div class="layui-clear layui-row layui-col-space5">
        <?php if(is_array($ad['list']) || $ad['list'] instanceof \think\Collection || $ad['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $ad['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <div class="layui-col-md<?php echo round(12/$ad['config']['columns'])?>">
            <a href="<?php echo $vo['link']; ?>" target="_blank"><img src="<?php echo $vo['banner_path']; ?>" style="height:<?php echo $ad['config']['rows']<75?75:$ad['config']['rows']; ?>px;width: 100%"/></a>
        </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
<?php endif; if($ad6['open'] && $ad6['config']['mobile_open']): ?>
<div style="background: #fff;padding:5px;margin-bottom: 10px">
    <div class="layui-clear layui-row layui-col-space5">
        <?php if(is_array($ad6['list']) || $ad6['list'] instanceof \think\Collection || $ad6['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $ad6['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <div class="layui-col-md<?php echo round(12/$ad6['config']['columns'])?>">
            <a href="<?php echo $vo['link']; ?>" target="_blank"><img src="<?php echo $vo['banner_path']; ?>" style="height:<?php echo $ad6['config']['rows']<75?75:$ad6['config']['rows']; ?>px;width: 100%"/></a>
        </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
<?php endif; ?>
    <ul class="fourico clearfix">
        <li>
            <a href="/list/all.html" data-no-cache="true">
                <img src="//static.115z.com/m/img/list.png" />
                资源
            </a>
        </li>
        <li>
            <a href="/top.html" data-no-cache="true">
                <img src="//static.115z.com/m/img/hot.png" />
                擂台榜
            </a>
        </li>
    </ul>
    <div class="news">
        <div class="titles">
            近期更新
            <a href="/list/all.html" class="iconfont icon-gengduo"  data-no-cache="true"></a>
        </div>
        <ul class="clearfix">
            <?php if(is_array($newArticles) || $newArticles instanceof \think\Collection || $newArticles instanceof \think\Paginator): $i = 0; $__LIST__ = $newArticles;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li>
                <a href="<?php echo($vo['out_link']?:'/html/'.$vo['id'].'.html'); ?>" target="_blank" title="<?php echo $vo['title']; ?>"><?php if($vo['is_ad']): ?><i class="ad">广告</i><?php elseif($vo['is_essence']): ?><i class="jx"></i><?php else: endif; ?><span style="color:<?php echo $vo['color']; ?>"><?php echo $vo['title']; ?></span></a>
                <font <?php if($vo['is_ad'] || date('m-d',strtotime($vo['publish_time']))==date('m-d')) echo('class="new-time"'); ?>><?php if($vo['is_ad']): ?><?php echo date('m-d'); else: ?><?php echo date('m-d',strtotime($vo['publish_time'])); endif; ?></font>
            </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
<?php if(in_array(1, $homnePageShowArr)): ?>
    <div class="tg_new">
        <div class="titles">
            投稿作者
        </div>
        <div class="overflows">
            <ul class="tg_new_ul clearfix">
                <?php if(is_array($newPostTop) || $newPostTop instanceof \think\Collection || $newPostTop instanceof \think\Paginator): $i = 0; $__LIST__ = $newPostTop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <li>
                    <a href="/person/<?php echo $vo['uuid']; ?>.html"  data-no-cache="true">
                        <img src="<?php echo $vo['avatar']; ?>" onerror="this.src='/public//images/userhead/default.png';" />
                        <?php echo $vo['nickname']; ?></a>
                </li>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
<?php endif; ?>
    <div class="top">
        <div class="titles">
            人气月榜
        </div>
        <ul class="xuhaoul clearfix">
            <?php if(is_array($monthRank) || $monthRank instanceof \think\Collection || $monthRank instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($monthRank) ? array_slice($monthRank,0,10, true) : $monthRank->slice(0,10, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li><a href="/html/<?php echo $vo['id']; ?>.html"  data-no-cache="true"> <i><?php echo $key+1; ?></i><?php echo $vo['title']; ?></a></li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
    <div class="suiji">
        <div class="titles">
            随机推荐
        </div>
        <ul class="twdd">
            <?php if(is_array($recommend) || $recommend instanceof \think\Collection || $recommend instanceof \think\Paginator): $i = 0; $__LIST__ = $recommend;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li>
                <a href="/html/<?php echo $vo['id']; ?>.html" class="clearfix"  data-no-cache="true">
                    <div class="list-img">
                        <img src="<?php echo $vo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"/>
                    </div>
                    <div class="info">
                        <h3><?php echo $vo['title']; ?></h3>
                        <font class=""><?php echo $vo['publish_time']; ?></font>
                    </div>
                </a>
            </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
    <div class="others">
        <div class="titles">
            友情链接
            <a style="float: right" href="/about/friendlink.html">申请友链</a>
        </div>
        <ul class="clearfix">
            <li><a href="https://www.laysns.com" target="_blank"  data-no-cache="true">Laysns</a></li>
            <?php if(is_array($friendlinks) || $friendlinks instanceof \think\Collection || $friendlinks instanceof \think\Paginator): $i = 0; $__LIST__ = $friendlinks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li><a href="<?php echo $vo['link']; ?>" target="_blank"  data-no-cache="true"><?php echo $vo['title']; ?></a></li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
    <div class="footer">
    <div>
        <a href="/">首页</a>
        <a href="/about/">关于</a>
        <a href="/about/ad.html">合作</a>
        <a href="/about/idea.html">反馈</a>
        <a href="/about/send.html">酷站</a>
        <a href="/about/tgrule.html">帮助</a>
    </div>
    <p>Copyright © <?php echo $_SERVER['HTTP_HOST']; ?>  <?php echo $site_config['site_icp']; ?></p>
</div>
</div>

    <a id="backtop" class="iconfont icon-dingbu"></a>
 </div>
</div>



<script src="/template/layres/mobile/js/zepto.min.js"></script>
<script src="/template/layres/mobile/js/sm.min.js"></script>
<script src="/template/layres/mobile/js/sm-extend.min.js"></script>
<script src="/template/layres/mobile/js/public.js"></script>
</body>
</html>